﻿<mui:ModernWindow x:Class="TanmiaGrp.GeneralLedger.WinApp.MainWindow"
                  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                  xmlns:mui="http://firstfloorsoftware.com/ModernUI"
                  xmlns:loc="clr-namespace:TanmiaGrp.GeneralLedger.WinApp"
                  Title="mui" 
                  IsTitleVisible="True"
                  FlowDirection="RightToLeft"
                  ContentSource="{Binding Path=CurrentView, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}">
    <mui:ModernWindow.MenuLinkGroups>
        <mui:LinkGroup DisplayName="المحاسبة" Icon="{StaticResource Account}">
            <mui:LinkGroup.Links>
                <mui:Link DisplayName="المجموعات"
                          Source="{x:Static loc:ViewNames.GroupBrowser}"
                          Icon="{StaticResource Group}"/>

                <mui:Link DisplayName="شجرة الحسابات"
                          Source="{x:Static loc:ViewNames.AccountBrowser}" 
                          Icon="{StaticResource ChartOfAccount}"/>

                <mui:Link DisplayName="اليومية"
                          Source="{x:Static loc:ViewNames.JournalBrowser}" 
                          Icon="{StaticResource Journal}"/>
            </mui:LinkGroup.Links>
        </mui:LinkGroup>
        <mui:LinkGroup DisplayName="settings"
                       GroupName="settings">
            <mui:LinkGroup.Links>
                <mui:Link DisplayName="software"
                          Source="/Pages/Settings.xaml" />
            </mui:LinkGroup.Links>
        </mui:LinkGroup>
    </mui:ModernWindow.MenuLinkGroups>
    <mui:ModernWindow.TitleLinks>
        <mui:Link DisplayName="settings"
                  Source="/Pages/Settings.xaml" />
        <mui:Link DisplayName="About" Source="/Pages/Settings.xaml" />
    </mui:ModernWindow.TitleLinks>
</mui:ModernWindow>
